package com.yorick.authority.service;

import com.yorick.authority.modal.request.role.*;
import com.yorick.authority.modal.response.BaseListResponse;
import com.yorick.authority.modal.response.role.RoleResponse;

import java.util.Map;

public interface RoleService {

    BaseListResponse roleList(RoleListRequest request);

    Map<String, Object> addRole(RoleAddRequest request);

    Map<String, Object> editRole(RoleEditRequest request);

    RoleResponse roleDetail(RoleDetailRequest request);

    Map<String, Object> deleteRole(RoleDeleteRequest request);
}
